import request from '@/utils/request'

// 查询补片列表
export function patchList(data) {
  return request({
    url: '/system/patch/list',
    method: 'post',
    data: data
  })
}
// 添加补片
export function add(data) {
  return request({
    url: '/system/patch/add',
    method: 'post',
    data: data
  })
}
// 修改补片
export function edit(data) {
  return request({
    url: '/system/patch/edit',
    method: 'post',
    data: data
  })
}
// 删除补片
export function remove(id) {
  return request({
    url: '/system/patch/remove',
    method: 'post',
    data: {
      id: id
    }
  })
}